package src.main.java.org.oop.enumDemo2;

public class Test {
    public static void main(String[] args) {
//        check(1);
        check(Constant.BOY);
    }
    public static void check(Constant sex){
        switch (sex){
            case BOY:
                System.out.println("展示一些图片");
                break;
            case GIRL:
                System.out.println("展示视频");
                break;
        }
    }
}
